package com.example.zuoye;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

public class ShowActivity1 extends AppCompatActivity {
    private TextView name;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show1);
        Intent intent =getIntent();
        String uname = intent.getStringExtra("name");
        name = (TextView) findViewById(R.id.name);
        name.setText("尊敬的" + name + "登陆成功");
    }
}